package com.group.three.mapper;

import com.group.three.entity.OrderComplaint;
import com.group.three.entity.OrderComplaintVO;
import com.group.three.entity.OrderLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface OrderComplaintMapper {
    //投诉列表
    List<OrderComplaint> getOrderComplainByPage(int pageNum, int pageSize);

    //投诉单详情
    OrderComplaintVO getOrderComplainById(String id);
    //增加交易投诉对话
    int addCommunication(@Param("complainId") String complainId,@Param("content") String content, @Param("ownerId")String ownerId,@Param("substring")String substring);

}
